import Vue from 'vue'
import App from './App.vue'
import router from '@/router'
import store from '@/store'
import './plugins/element.js'
import * as api from "@/api/user.js"

Vue.config.productionTip = false
Vue.prototype.$api = api // 请求方法
Vue.prototype.$bus = new Vue() // bus方法

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
